//
//  ReportGuestModel.m
//  mendianjieke
//
//  Created by 响当当 on 11/6/19.
//  Copyright © 2019 dongzheng. All rights reserved.
//

#import "ReportGuestModel.h"

@implementation ReportGuestModel
- (id)initWithDic:(NSDictionary *)dic
{
    if (self = [super init])
    {
        self.photo = IFNULL(dic[@"photo"],@"");
        self.gender = IFNULL(dic[@"gender"],@1);
        self.age = IFNULL(dic[@"age"],@1);
        self.inF = IFNULL(dic[@"in"], @6);
        self.outF = IFNULL(dic[@"out"],@6);
        self.inTime = IFNULL(dic[@"inTime"],@1564727177000);
        self.outTime = IFNULL(dic[@"outTime"],@1564727777000);
        self.state = IFNULL(dic[@"state"], @1);
    }
    return self;
}
@end
